package vip.hello520.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import vip.hello520.model.UserPo;

@Controller
public class UserController {

    @RequestMapping(value = "/dubbo.do")
    @ResponseBody
    public UserPo dubbo(String name, String password){


        UserPo userPo = new UserPo();
        userPo.setUsername("root");
        userPo.setPassword("root1");
        return userPo;
    }
}
